package com.example.managesystem.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class Anno {
    private Integer id;
    private String title;
    private String dept;
    private String maintext;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate create_time;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate over_time;

}
